<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

		<title>Simpla Admin | Sign In</title>

		<!--                       CSS                       -->

		<!-- Reset Stylesheet -->
		<link rel="stylesheet" href="<?php echo CSS;?>reset.css" type="text/css" media="screen" />

		<!-- Main Stylesheet -->
		<link rel="stylesheet" href="<?php echo CSS;?>style.css" type="text/css" media="screen" />

		<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
		<link rel="stylesheet" href="<?php echo CSS;?>invalid.css" type="text/css" media="screen" />

		<!-- Colour Schemes
	  
		Default colour scheme is green. Uncomment prefered stylesheet to use it.
		
		<link rel="stylesheet" href="<?php echo CSS;?>blue.css" type="text/css" media="screen" />
		
		<link rel="stylesheet" href="<?php echo CSS;?>red.css" type="text/css" media="screen" />  
	 
		-->

		<!-- Internet Explorer Fixes Stylesheet -->

		<!--[if lte IE 7]>
			<link rel="stylesheet" href="<?php echo CSS;?>ie.css" type="text/css" media="screen" />
		<![endif]-->

		<!--                       Javascripts                       -->

		<!-- jQuery -->
		<script type="text/javascript" src="<?php echo JS;?>jquery-1.3.2.min.js"></script>

		<!-- jQuery Configuration -->
		<script type="text/javascript" src="<?php echo JS;?>simpla.jquery.configuration.js"></script>

		<!-- Facebox jQuery Plugin -->
		<script type="text/javascript" src="<?php echo JS;?>facebox.js"></script>

		<!-- jQuery WYSIWYG Plugin -->
		<script type="text/javascript" src="<?php echo JS;?>jquery.wysiwyg.js"></script>

		<!-- Internet Explorer .png-fix -->

		<!--[if IE 6]>
			<script type="text/javascript" src="<?php echo JS;?>DD_belatedPNG_0.0.7a.js"></script>
			<script type="text/javascript">
				DD_belatedPNG.fix('.png_bg, img, li');
			</script>
		<![endif]-->

	</head>

	<body id="login">

		<div id="login-wrapper" class="png_bg">
			<div id="login-top">

				<h1>Simpla Admin</h1>
				<!-- Logo (221px width) -->
				<img id="logo" src="<?php echo IMG;?>logo.png" alt="Simpla Admin logo" />
			</div>
			<!-- End #logn-top -->

			<div id="login-content">

				<form action="" method="post">
					<div class="notification information png_bg">
						<div>
							Just click "Sign In". No password needed.
						</div>
					</div>
					<p>
						<label>账号</label>
						<input name="username" class="text-input" type="text" value="<?php if(isset($_COOKIE['uname'])){echo $_COOKIE['uname'];} ?>" 
							/>
					</p>
					<div class="clear"></div>
					<p>
						<label>密码</label>
						<input name="password" class="text-input" type="password" value="<?php if(isset($_COOKIE['upwd'])){echo $_COOKIE['upwd'];} ?>"
						/>
					</p>

					<div class="clear"></div>
					
					<p id="remember-password">
						<?php if(isset($_COOKIE['check'])) {?>
						<input type="checkbox" name="checkbox" value="1" checked="checked"/>记住密码
						<?php }else{?>
						<input type="checkbox" name="checkbox" value="1" />记住密码
						<?php }?>
					</p>

					<div class="clear"></div>
					<p>
						<label>验证码</label>
						<input type="text" class="text-input" name="verify" />
					</p>
					<div class="clear"></div>
					<p>
						
						<img width="100" height="40" src="index.php?m=admin&c=manage&v=verify" style="cursor:pointer;float:right" onclick="this.src=this.src" />
					</p>
					<div class="clear"></div>
					<p>
						<input class="button" type="submit" value="Sign In" />
					</p>

				</form>
			</div>
			<!-- End #login-content -->

		</div>
		<!-- End #login-wrapper -->

	</body>

</html>